package com.pcbly.web.business.mail;

import java.util.List;

import com.pcbly.web.bean.mail.UserMailBean;
import com.pcbly.web.business.BaseService;

public interface UserMailService extends BaseService<UserMailBean> {
	public List<UserMailBean> getUserMailBeans() throws Exception;
	UserMailBean getMainUserMailBeanByFlag(String flag) throws Exception;
	UserMailBean getUserMailBeanById(String id) throws Exception;

	void addUserMailBean(UserMailBean userMailBean) throws Exception;

	void updateUserMailBean(UserMailBean userMailBean) throws Exception;

	void deleteUserMailBean(UserMailBean userMailBean) throws Exception;

	void deleteUserMailBeanById(String id) throws Exception;
}
